
//手机
@media screen and (max-width: 768px) {
    .header-content{
        
    }
}

//平板小屏幕电脑
@media screen and (min-width: 769px) {
    #wrap{
        background-color: #0f2a5b;
        .header{
            height: 80px;
            line-height: 80px;
            background-color: #0f2a5b;
            transition: 0.5s background-color;
            
            .header-content{
                height: 100%;
                width: 1200px;
                > div{
                    float: left;
                }
                .logo{
                    margin: 25px;
                    a{
                        img{
                            height: 30px;
                        }
                    }
                }
                .home-well{
                    font-size: 17px;
                    color: #ccc;
                    margin: 0 20px;
                }
                .home-seach{
                    position: relative;
                    margin: 25px;
                    margin-right: 0;
                    height: 30px;
                    line-height: 30px;
                    width: 240px;
                    min-width: 240px;
                    max-width: 290px;
                    padding: 0 35px;
                    padding-left: 20px;
                    border-radius: 5px;
                    background-color: #f8f8f8;
                    border: 1px solid #1061ef;
                    > div{
                        position: absolute;
                        right: 0;
                        top: 0;
                        height: 100%;
                        width: 35px;
                        cursor: pointer;
                        > img{
                            position: absolute;
                            right: 7px;
                            top: 7px;
                            height: 16px;
                        }
                    }
                    > input{
                        background-color: #f8f8f8;
                        width: 100%;
                    }
                }

                .header-nav{
                    margin-left: 80px;
                    a{
                        display: inline;
                        padding: 5px;
                        margin-left: 20px;
                        color: #fff;
                        font-size: 12px;
                        border-radius: 2px;
                        &:hover{
                            color: #e7e7e7;
                        }
                    }

                    a:nth-child(1){
                        background-color: #00d2db;
                    }

                    a:nth-child(2){
                        background-color: #00aaff;
                    }

                    a:nth-child(3){
                        background-color: #1874cd;
                    }

                    a:nth-child(4){
                        background-color: #ff942e;
                    }
                    a:nth-child(5){
                        background-color: #72f2ac;
                    }
                }
            }
            &:hover{
                background-color: #2b3033;
            }
        }
        .home-content{
            width: 1200px;
            > div{
                float: left;
            }
            .home-left{
                width: 180px;
                height: 100%;
                ul{
                    background-color: #0f2a5b;
                    font-size: 16spx;
                    li{
                        &:hover{
                            background-color: #00aaff;
                        }
                        a{
                            padding: 10px 48px;
                            color: #fff;
                        }
                    }
                }
            }
            .home-center{
                height: 500px;
                background-color: #fff;
                width: 720px;
                ul{
                    padding: 10px;
                    li{
                        // 标题
                        border: 1px solid #00aaff;
                        padding: 10px;
                        margin-top: 10px;
                        border-radius: 5px;
                        &:hover{
                            border: 1px solid #00d2db;
                            box-shadow: 0 6px 10px 0 rgba(0, 210, 219, 0.2);
                        }
                        .title{
                            a{
                                color: #2a2a2a;
                                &:hover{
                                    color: #00aaff;
                                }
                            }
                        }
                        // 内容
                        .content{
                            color: #8a8a8a;
                            font-size: 14px;
                            line-height: 27px;
                        }
                        // 园主信息
                        .info{
                            span{
                                display: inline;
                            }
                            a{
                                display: inline;
                                color: #666;
                                font-weight: 300;
                                padding: 0 5px;
                                &:hover{
                                    color: #00aaff;
                                }
                            }
                            .split{
                                color: #ccc;
                                font-size: 12px;
                            }
                            .left{
                                float: left;
                                line-height: 25px;
                                .blog-img{
                                    float: left;
                                    img{
                                        width: 25px;
                                        height: 25px;
                                        border-radius: 50%;
                                        float: left;
                                    }
                                }
                                .blog-name{
                                    color: #000;
                                    &:hover{
                                        color: #00aaff;
                                    }
                                }

                                .blog-time{
                                    font-weight: 400;
                                    color: #666;
                                }
                            }
                            .right{
                                float: right;
                            }
                        }
                    }
                }
            }
            .home-right{
                height: 500px;
                background-color: #fff;
                width: 300px;
                > div{
                    > div{
                        margin: 10px;
                        margin-top: 20px;
                        .recommend-title{
                            text-align: center;
                        }
                    }
                }
                // 今日文章推荐
                .recommend-article{
                    .article-content{
                        
                        ul{
                            li{
                                padding: 10px;
                                border-bottom: 1px solid #00d2db;
                                .recommend-img{
                                    float: left;
                                    > img{
                                        width: 60px;
                                        height: 40px;
                                        border-radius: 5px;
                                    }
                                }
                                .recommend-name{
                                    width: 190px;
                                    font-size: 13px;
                                    color: #3d3d3d;
                                    font-weight: 700;
                                    float: left;
                                    padding-left: 10px;
                                    &:hover{
                                        color: #0f2a5b;
                                        text-decoration: underline;
                                    }
                                }
                            }
                        }
                    }
                }
                .recommend-blog{
                    .blog-content{
                        ul{
                            li{
                                padding: 10px;
                                margin-top: 10px;
                                border-radius: 5PX;
                                border: 1px solid #000;
                                &:hover{
                                    background-color: #fafafa;
                                }
                                .blog-top{
                                    padding-bottom: 5px;
                                    border-bottom: 1px solid #e3e3e3;
                                    line-height: 40px;
                                    .blog-info{
                                        float: left;
                                        a{
                                            img{
                                                width: 40px;
                                                height: 40px;
                                                border-radius: 50px;
                                                float: left;
                                            }
                                            span{
                                                float: left;
                                                font-weight: 300;
                                                color: #000;
                                                margin-left: 10px;
                                                &:hover{
                                                    color: #00d2db;
                                                }
                                            }
                                        }
                                        
                                    }

                                    .blog-add{
                                        float: right;
                                        margin-right: 20px;
                                        .recommend-add{
                                            display: inline;
                                            padding: 5px;
                                            border-radius: 5px;
                                            font-size: 13px;
                                            cursor: pointer;
                                            border: 1px solid #00d2db;
                                            
                                            transition: background-color 0.3s;
                                            &:hover{
                                                background-color: rgba(0, 210, 219, 0.2);
                                            }
                                        }
                                    }
                                }
                                .blog-bottom{
                                    overflow: hidden;
                                    > div{
                                        float: left;
                                        width: 33.3%;
                                        text-align: center;
                                        font-size: 15px;
                                        span{
                                            padding: 5px 0;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
